

@font-face {
    font-family: "minecraft";
    src: url("../fonts/VT323-Regular.ttf");
  }
  



body {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url(../images/background1.jpg);
    background-size: cover;
    font-family: minecraft;
  }

  canvas {
    border: 2px solid black;
    background-color: #52575a;
  }

  .controls {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    position: absolute;
    top: 80%;
    left: 80%;
  }

  .button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    background-color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
 
  }
  .returnbutton{
    width: 40px;
    position: absolute;
    top: 50px;
    left: 50px;
  }

  .button.active {
    background-color: yellow;
  }

  .timer {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
  }

  .lives {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    z-index: 1000;
    display: none;
  }

  .modal.show {
    display: flex;
  }
.alink{
  color: black;
  text-decoration: none;
  cursor: context-menu;
}
.menu{
  position: absolute;
  top: 80px;
  left: 50px;
  color: white;
  font-size: 24px;
}
span{
  color: white;
  font-size: 30px;
  
}
.highscore{
  color: white;
  font-size: 24px;
  position: absolute;
  left: 50px;

}
.hs_container {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-direction: row;
  transition: background-color 1.5s;
}
.row > div {
  flex: 1;
}
.back{
  background-color: green;
}